package it.bnl.layar;

import java.util.ArrayList;
import java.util.List;

import it.bnl.layar.data.ActionData;
import it.bnl.layar.data.Hotspot;

public class Response {
	private String layer;
	private List<Hotspot> hotspots;
	private int errorCode;
	private String errorString;
	private int refreshInterval;
	private int refreshDistance;
	private List<ActionData> actions;

	public Response() {
		setHotspots(new ArrayList<Hotspot>()); // lista di punti di interesse
		setActions(new ArrayList<ActionData>()); // lista di azioni associate al punto di interesse.
	}
	
	public List<ActionData> getActions() {
		return actions;
	}

	public void setActions(List<ActionData> actions) {
		this.actions = actions;
	}

	public int getRefreshInterval() {
		return refreshInterval;
	}

	public void setRefreshInterval(int refreshInterval) {
		this.refreshInterval = refreshInterval;
	}

	public int getRefreshDistance() {
		return refreshDistance;
	}

	public void setRefreshDistance(int refreshDistance) {
		this.refreshDistance = refreshDistance;
	}
		
	public String getLayer() {
		return layer;
	}
	public void setLayer(String layer) {
		this.layer = layer;
	}
	public List<Hotspot> getHotspots() {
		return hotspots;
	}
	public void setHotspots(List<Hotspot> hotspots) {
		this.hotspots = hotspots;
	}
	public int getErrorCode() {
		return errorCode;
	}
	public void setErrorCode(int errorCode) {
		this.errorCode = errorCode;
	}
	public String getErrorString() {
		return errorString;
	}
	public void setErrorString(String errorString) {
		this.errorString = errorString;
	}
}
